// import { useState, useEffect, Component } from "react";

interface Comp0Props {
  data: {
    a: number;
    b: number;
  };
}
function Comp0(props: Comp0Props) {
  return (
    <fieldset className="item">
      <legend>子组件0</legend>
      {props.data.b}
    </fieldset>
  );
}

export default Comp0;
